'''
Created on 2009-4-17

@author: Administrator
'''
import unittest
from com.carnation.common.util.test import testTools


class Test(unittest.TestCase):


    def testAnalyze(self):
        test = testTools(__file__) 
        rsp_msg = test.requestAndRsp(1, 'Run For Test AnalysisService.analyze', \
'''
AnalysisService.analyze
    MOIData
        setId    "Catalog1=1"
    MOIRelationType
        setId    "RelationShipType=5"
    int    1
    boolean    false
''', \
'''
List
    0
        MOIDRelation
            getId    "id1"
    1
        MOIDRelation
            getId    "id2"
    2
        MOIDRelation
            getId    "id3"
'''
)
#    print rsp_msg
        print '\nDone'
        test.quit()


if __name__ == "__main__":
    unittest.main()
